
package ig.metrica.ui.pantallas.comunes;

import javax.swing.JButton;
import javax.swing.ImageIcon;

public class BotonMenu extends JButton{
    
    /**
     * <p>Identificacion numerica del menu</p>
     *
     */
    private int codigo;
    
    public BotonMenu(){
        setBorder(null);        
    }
    public BotonMenu(ImageIcon image,String actionCommand,String toolTipText){
        setBorder(javax.swing.BorderFactory.createEmptyBorder(10, 10, 10, 10));
        setIcon(image);
        setOpaque(false);
        setActionCommand(actionCommand);
        setToolTipText(toolTipText);        
    }
    
    /**
     * <p>Represents ...</p>
     *
     *
     * @return
     */
    public int getCodigo() {
        return codigo;
    }
    
    /**
     * <p>Represents ...</p>
     *
     *
     * @param _codigo
     */
    public void setCodigo(int _codigo) {
        codigo = _codigo;
    }
    
    public void setVisible(){
    
    
    }
    
    public void setEstado(){    
    
    }
    
    
}

